- 
		Home
	
 
	- 
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
 
- 
6.3.4
 
- 
Code
 
- 
Classes
 
-  WPQ 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											117 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											731 | 
										
																			
											| Lines of code | 
											471 | 
										
																			
											| Logical lines of code | 
											289 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											103 | 
										
																			
											| Methods | 
											33 | 
										
																			
											| Properties | 
											10 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 33
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| dequeue() | 
									A  | 
																	44 | 
													11 | 
													44 | 
							
					
				| checkQueue() | 
									A  | 
																	44 | 
													8 | 
													47 | 
							
					
				| resetInternalCounts() | 
									A  | 
																	48 | 
													8 | 
													35 | 
							
					
				| addItems() | 
									A  | 
																	53 | 
													8 | 
													21 | 
							
					
				| inProcessTimeout() | 
									S  | 
																	49 | 
													6 | 
													30 | 
							
					
				| loadStatus() | 
									S  | 
																	59 | 
													6 | 
													14 | 
							
					
				| saveStatus() | 
									S  | 
																	53 | 
													5 | 
													24 | 
							
					
				| setStatusCount() | 
									S  | 
																	58 | 
													5 | 
													15 | 
							
					
				| itemFailed() | 
									S  | 
																	54 | 
													4 | 
													22 | 
							
					
				| __construct() | 
									S  | 
																	54 | 
													4 | 
													20 | 
							
					
				| clearItemCache() | 
									S  | 
																	58 | 
													4 | 
													18 | 
							
					
				| withRemoveDuplicates() | 
									S  | 
																	59 | 
													4 | 
													15 | 
							
					
				| itemSum() | 
									S  | 
																	60 | 
													4 | 
													13 | 
							
					
				| getStatus() | 
									S  | 
																	64 | 
													4 | 
													11 | 
							
					
				| enqueue() | 
									S  | 
																	57 | 
													3 | 
													16 | 
							
					
				| itemDone() | 
									S  | 
																	59 | 
													3 | 
													14 | 
							
					
				| getItem() | 
									S  | 
																	62 | 
													3 | 
													12 | 
							
					
				| setStatus() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| setOptions() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| setOption() | 
									S  | 
																	75 | 
													2 | 
													4 | 
							
					
				| getOption() | 
									S  | 
																	76 | 
													2 | 
													4 | 
							
					
				| withOrder() | 
									S  | 
																	66 | 
													2 | 
													9 | 
							
					
				| removeItems() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| updateItemValue() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| hasItems() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| itemCount() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| createQueue() | 
									S  | 
																	65 | 
													2 | 
													10 | 
							
					
				| resetQueue() | 
									S  | 
																	73 | 
													1 | 
													5 | 
							
					
				| cleanQueue() | 
									S  | 
																	73 | 
													1 | 
													5 | 
							
					
				| calcAverageAsk() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| finishQueue() | 
									S  | 
																	68 | 
													1 | 
													7 | 
							
					
				| install() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| unInstall() | 
									S  | 
																	70 | 
													1 | 
													6 |